from django import forms


class UploadFileForm(forms.Form):
    cats = (
        (1, 'T恤'),
        (2, '休闲裤'),
        (3, '牛仔裤'),
        (4, '衬衫'),
        (5, '夹克'),
        (6, '马甲/背心'),
        (7, '针织衫'),
        (8, '卫衣'),
        (9, '短裤'),
        (10, 'POLO衫'),
        (11, '风衣'),
        (12, '西裤'),
        (13, '西服'),
        (14, '毛呢大衣'),
        (15, '仿皮皮衣'),
        (16, '羽绒服'),
        (17, '羊毛衫'),
        (18, '真皮皮衣'),
        (19, '棉服'),
        (20, '西服套装'),
        (21, '卫裤/运动裤'),
    )

    file = forms.FileField()
    cate = forms.IntegerField(widget=forms.Select(choices=cats))
